package com.xj.admin.bussiness.news.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.xj.admin.bussiness.news.service.ITbTypeService;
import com.xj.common.bussiness.news.entity.TbType;
import com.xj.common.bussiness.news.mapper.TbTypeMapper;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xj
 * @since 2017-11-30
 */
@Service
public class TbTypeServiceImpl extends ServiceImpl<TbTypeMapper, TbType> implements ITbTypeService {

	@Autowired
	private TbTypeMapper tbTypeMapper;
	
	@Override
	public List<TbType> selectListByDepart(int depart) {
		return tbTypeMapper.selectListByDepart(depart);
	}
	
}
